import request from "@/utils/request";

export function LoginApi(data){
    return request({
        url: '/authorizations',
        method: 'post',
        data
    })
}

export function getUserInfo(){
    return request({
        url: '/user/profile',
        method: 'get'
    })
}